home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / utils / error / excid.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  842 b   |  25 lines

  1. /*
  2.  * excid.c --
  3.  *    POSTGRES known exception identifier code.
  4.  */
  5.  
  6. #include "tmp/c.h"
  7.  
  8. #include "utils/excid.h"
  9.  
  10. RcsId("$Header: /private/postgres/src/utils/error/RCS/excid.c,v 1.3 1990/09/25 16:51:55 kemnitz Exp $");
  11.  
  12. Exception FailedAssertion = { "Failed Assertion" };
  13. Exception BadState = { "Bad State for Function Call" };
  14. Exception BadArg = { "Bad Argument to Function Call" };
  15.  
  16. Exception BadAllocSize = { "Too Large Allocation Request" };
  17.  
  18. Exception ExhaustedMemory = { "Memory Allocation Failed" };
  19. Exception Unimplemented = { "Unimplemented Functionality" };
  20.  
  21. Exception CatalogFailure = {"Catalog failure"};    /* XXX inconsistent */
  22. Exception InternalError = {"Internal Error"};    /* XXX inconsistent */
  23. Exception SemanticError = {"Semantic Error"};    /* XXX inconsistent */
  24. Exception SystemError = {"System Error"};    /* XXX inconsistent */
  25.